package com.fiberhome.app.network.download;

/**
 * Created by Deed on 2018/1/11.
 */

public interface DownloadListener {
    /**
     *
     * @param downloadBean DownloadBean
     */
    void onUpdate(DownloadBean downloadBean);

    /**
     *
     * @param e Throwable
     */
    void onError(Throwable e);

    /**
     *
     * @param downloadBean DownloadBean
     */
    void onComplete(DownloadBean downloadBean);
}
